import Layout from "../../layouts/index.vue"
export default {
    path: "/library",
    name: "library",
    redirect: "/cangguan",
    component: Layout,
    meta: {
        title: "图书馆管理"
    },
    children: [
        {
            path: "/cangguan",
            name: "cangguan",
            component: () => import("../../views/library/cangguan/list/index.vue"),
            meta: {
                title: "藏馆管理"
            },
        },
        {
            path: "/libraryadd",
            name: "libraryadd",
            component: () => import("../../views/library/cangguan/add/index.vue"),
            meta: {
                hidden: true,
                title: "新增藏馆"
            },
        },
        {
            path: "/libraryedit/:id",
            name: "libraryedit",
            component: () => import("../../views/library/cangguan/edit/index.vue"),
            meta: {
                hidden: true,
                title: "编辑藏馆",
                setTitle: true
            },
        },
        {
            path: "/detailed/:id",
            name: "detailed",
            component: () => import("../../views/library/cangguan/detailed/index.vue"),
            meta: {
                hidden: true,
                title: "详情页面",
                setTitle: true
            },
        },
        // {
        //     path: "/d",
        //     name: "d",
        //     component: () => import("../../views/library/cangguan/index.vue"),
        //     meta: {
        //         title: "新建藏馆",
        //         hidden: true
        //     },
        // },
        {
            path: "/literature",
            name: "literature",
            component: () => import("../../views/library/literature/list/index.vue"),
            meta: {
                title: "文献管理"
            },
        },
        {
            path: "/frame",
            name: "frame",
            component: () => import("../../views/library/LayerFramework/list/index.vue"),
            meta: {
                title: "层架管理"
            },
        }
    ]
}